class QuestionnaireName < ActiveRecord::Base
	has_many :questionnaires
	
	@@all_names = {
    :YLS => "YLS",
    :EURO_ADAD => "EuroADAD",
    :YSR => "Youth",
    :SRD => "SRD", # -
    :CBCL => "Parent", # Parent
    :SCL_90 => "SCL-90", # -
    :FSS => "FSS", # ?
    :TRF => "Teacher",
    :FEQ => "FEQ", # -
    :SCAPI1 => "Telephone interview 90",
    :SCAPI2 => "Telephone interview 180",
    :SCAPI3 => "Telephone interview 270",
    :SCAPI4 => "Telephone interview 360"
  }

  def self.all_names
    @@all_names
  end

  # Override
  def to_s
    return name
  end


#	def self.get_id(name)
#		return QuestionnaireName.find_by_name(name)
#	end

end
